package kz.kstu.scantest.facade.ejb.api;


import kz.kstu.scantest.business.entity.security.Account;

import javax.ejb.Remote;
import javax.security.auth.login.LoginException;


/**
 * @author Filipp_Stankevich
 *         created: 08.09.11 17:36
 */
@Remote
public interface AccountFacade {

    final static String SERVICE_NAME = "AccountFacadeBean";

    Account login(String login, String password) throws LoginException;

     void changePassword(Long accountId, String newPassword);

}
